package com.tio.showcase.packet;

import com.tio.showcase.common.ShowcasePacket;
import com.tio.showcase.showcaseintf.AbsShowcaseBsHandler;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.tio.core.ChannelContext;

/**
 * Author      : liyuemin
 * Time        : 2017/12/18 11:08
 * Description :
 */
public class HeartbeatReqHandler extends AbsShowcaseBsHandler<LoginReqbody> {
    private Logger logger = LoggerFactory.getLogger(HeartbeatReqHandler.class);

    @Override
    public Class bodyClass() {
        return LoginReqbody.class;
    }

    @Override
    public Object handle(ShowcasePacket showcasePacket, LoginReqbody bsBody, ChannelContext channelContext) throws Exception {
        //心跳消息啥也不用做
        return null;
    }
}
